<?= $this->extend('layout') ?>
<?= $this->section('content') ?>


<?= form_open_multipart('crud'); ?>
<?= csrf_field() ?>
    <div class="form-group"> 
    <label for="title">Name</label>
    <input type="input" name="title" id ="title" class="form-control"/><br />
     </div>
      
      
      
      <div class="form-group"> 
    <input type="file" name="userfile" size="20" />
    </div>

<div class="form-group"> 
			 <label for="theArticle">Message </label> 
			 <textarea class="form-control" id ="thArticle" rows="3" cols ="24" name ="article" required ="true"  ></textarea>
			  </div>


<input type="submit" value="submit" />
</form>

<?= $this->endSection() ?>
